翻訳と辞書 |
Interpreter directive : ウィキペディア英語版 | Interpreter directive An interpreter directive is a computer language construct that is used to control which interpreter parses and interprets the instructions in a computer program. It is also commonly referred to as an interpreter designator. *In Unix, Linux and other Unix-like operating systems (OS) the Shebang (#!) command is the first line in a script, as it is used to tell the OS shell that this file is to be executed and what scripting language to use when executing the script commands. An example would be ''#!/bin/bash'', meaning run this script with the bash shell found in the /bin directory. The file system permissions must also be set so the script may be executed.〔(【引用サイトリンク】url=http://tldp.org/LDP/abs/html/sha-bang.html )〕〔(【引用サイトリンク】url=http://www.in-ulm.de/~mascheck/various/shebang/ )〕 * Other systems or files may use some other ''magic number'' as the interpreter directives. (Shebang's ''#!'' magic number is a code value ''23 21'' followed by the path to an interpreter.) == See also ==
* List of scripting languages * Architecture description language * Command line interpreter * Shebang (Unix) * Bourne shell * Bourne-Again shell * C shell * Python (programming language) * Filename extension, ''Command Name Issues'' section * Perl * Scripting language * Unix shell
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Interpreter directive」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|